<?php $this->beginContent('//layouts/main'); ?>
<?php if($this->menu):?>
<div class="container">
	<div class="span-19">
		<div id="content">
			<?php 
				echo $content; 
			?>
		</div><!-- content -->
	</div>
	<div class='span-5 last'>
		<div id='sidebar'>
		<?php
			$this->beginWidget('zii.widgets.CPortlet', array(
				'title'=>'Operations',
			));
			$this->widget('zii.widgets.CMenu', array(
				'items'=>$this->menu,
				'htmlOptions'=>array('class'=>'operations'),
			));
			$this->endWidget();
		?>
		</div><!-- sidebar -->
	</div>		
</div>
<?php else:?>
		<div id="content">
			<?php echo $content; ?>
		</div><!-- content -->
<?php endif;?>

<?php $this->endContent(); ?>